home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
snakeoil.lqr
/
IBM.H
< prev
next >
Wrap
Text File
|
1985-07-06
|
1KB
|
23 lines
/************************************************************************
(CI-C86) Karl L. Remmler
IBM.H - a preprocessor for IBM-PC Computer Terminals
*************************************************************************/
#include "ibm.c"
#define BEL bdos(2,'\07') /* Ring Bell */
#define CLS cls() /* Clear the screen */
#define INKEY bdos(1,0) /* CP/M Function Call #1 */
#define PRINT(X) bdos(9,"X$") /* CP/M Function Call #9 */
#define BEGIN { /* Just like Pascal */
#define END } /* Just like Pascal */
#define YES 1 /* TRUE */
#define NO 0 /* FALSE */
#define AEOF 0x1A /* ASCII EOF for CP/M compatibility */
#define MAXLEN 80 /* Screen width (# of characters */
#define void int /* void not supported */
#define EEL eel() /* Erase entire line */
#define EOL eol() /* Erase to end of line */
#define CUH locate(0,0) /* Send cursor home */